﻿Public Class Lote

    Private _id As Nullable(Of Long)
    Public Overridable Property Id() As Nullable(Of Long)
        Get
            Return _id
        End Get
        Set(ByVal value As Nullable(Of Long))
            _id = value
        End Set
    End Property

    Private _descricao As String
    Public Overridable Property Descricao() As String
        Get
            Return _descricao
        End Get
        Set(ByVal value As String)
            _descricao = value
        End Set
    End Property

    Private _pecas As IList(Of Peca)
    Public Overridable Property Pecas() As IList(Of Peca)
        Get
            Return _pecas
        End Get
        Set(ByVal value As IList(Of Peca))
            _pecas = value
        End Set
    End Property

    Private _leilao As Leilao
    Public Overridable Property Leilao() As Leilao
        Get
            Return _leilao
        End Get
        Set(ByVal value As Leilao)
            _leilao = value
        End Set
    End Property

    Private _regraLote As RegraLote
    Public Overridable Property RegraLote() As RegraLote
        Get
            Return _regraLote
        End Get
        Set(ByVal value As RegraLote)
            _regraLote = value
        End Set
    End Property

End Class
